namespace test_6_18
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Official official = new Official(textBox1.Text,textBox2.Text,textBox3.Text,textBox4.Text,int.Parse(textBox5.Text),textBox6.Text,textBox7.Text);
            textBox8.Text = official.getInfor();
        }

    }
}
